package com.code.day07;

public class Test3 {

    public static void main(String[] args) {
        Person1.classRoom="100";
        Person1 person1  = new Person1();
        person1.name = "lisi";
        person1.age = 18;
        System.out.println(person1.name + " " + person1.age + " " + Person1.classRoom);

        Person1 person2 = new Person1();
        person2.name = "wangwu";
        person2.age = 19;
        System.out.println(person2.name + " " + person2.age + " " + Person1.classRoom);
    }
}
